home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-01-19 | 2.1 KB | 93 lines | [TEXT/MPS ] |
- (*******************************************************************
-
- Common.p
-
- Declarations for dynamic Window menu demo.
-
- (c) 1988, by Clifford Story & Attic Software
-
- ********************************************************************
-
- This is a collection of constant and type declarations, most of
- which are not used in this program. I keep an odds-and-ends
- unit of such things that I routinely include in all my programs;
- it's too much trouble to sort out what parts are used in Windows
- and what parts aren't.
-
- *******************************************************************)
-
- unit Common;
-
- (******************************************************************)
-
- interface
-
- (*******************************************************************
-
- Key codes:
-
- *******************************************************************)
-
- const
-
- enterkey = 3;
- backspace = 8;
- tabkey = 9;
- returnkey = 13;
- clearkey = 27;
- leftarrow = 28;
- rightarrow = 29;
- uparrow = 30;
- downarrow = 31;
- periodkey = 46;
-
- (*******************************************************************
-
- Dialog items:
-
- *******************************************************************)
-
- themask = 3;
-
- (*******************************************************************
-
- Low-memory globals:
-
- *******************************************************************)
-
- applscratch = $A78;
- bootdrive = $210;
- curappname = $910;
- curdirstore = $398;
- currenta5 = $904;
- findername = $2E0;
- fsfcblen = $3F6;
- grayrgn = $9EE;
- iaznotify = $33C;
- mbarheight = $BAA;
- menuflash = $A24;
- resload = $A5E;
- rom85 = $28E;
- sfsavedisk = $214;
- sysmap = $A58;
- windowlist = $9D6;
-
- (*******************************************************************
-
- Standard types:
-
- *******************************************************************)
-
- type
-
- logical = boolean;
- long = longint;
-
- shortpointer = ^integer;
- longpointer = ^long;
-
- (******************************************************************)
-
- end.
-
- (******************************************************************)